html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

body {
    background: #b5e8fb;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

* {
    position: absolute;
}

.polaroid {
    width: 420px;
    height: 280px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 10px 10px #9de0fa;
}

*:before,
*:after {
    content: "";
    position: absolute;
}

.polaroid-body {
    background-color: #fff;
    border-radius: 40px;
    width: 100%;
    height: 100%;
    box-shadow: 10px 10px #9de0fa;
}

.flash {
    width: 24%;
    height: 15%;
    background-color: #34495e;
    border-radius: 8px;
    top: -12%;
    left: 38%;
}
.flash:after {
    width: 36%;
    height: 60%;
    background-color: #7796b4;
    border-radius: 5px;
    top: 10%;
    left: 32%;
}

.button {
    background-color: #cb214a;
    border-radius: 10px;
    width: 10%;
    height: 10%;
    top: -4%;
    left: 14%;
    -webkit-animation: button 5s linear infinite;
    animation: button 5s linear infinite;
}

.blinker {
    width: 15px;
    height: 15px;
    top: 15%;
    left: 15%;
    border-radius: 15px;
    background-color: #212f3d;
    -webkit-animation: blinker 5s linear infinite;
    animation: blinker 5s linear infinite;
}

.zoom {
    border-radius: 50%;
    width: 50%;
    height: 75%;
    background: #212f3d;
    left: 25%;
    top: 12.5%;
    box-shadow: 10px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 5px solid #34495e;
    -webkit-animation: zoom 5s linear infinite;
    animation: zoom 5s linear infinite;
}
.zoom:before {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-radius: 50%;
    background: #2c3e50;
    border: 10px solid #34495e;
}
.zoom:after {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-radius: 50%;
    background: #212f3d;
}

.reflections {
    background-color: #fff;
    opacity: 0.3;
    width: 100%;
    height: 100%;
    left: -35%;
    top: -35%;
    z-index: 99;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.reflections:after {
    background-color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    left: 50%;
    top: 105%;
    opacity: 0.5;
}

.stripes {
    right: 0;
    top: 40%;
    height: 7px;
    width: 50%;
    box-shadow: 0px 7px #d60079, 0px 14px #e68d15, 0px 21px #fec803, 0px 28px #dde56b, 0px 35px #3ea230, 0px 42px #0188c2;
}

.flashlight {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    transition: all ease 0.2s;
    opacity: 0;
    -webkit-animation: flashlight 5s linear infinite;
    animation: flashlight 5s linear infinite;
}

@-webkit-keyframes button {
    5%, 15% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    10% {
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
}

@keyframes button {
    5%, 15% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    10% {
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
}
@-webkit-keyframes flashlight {
    56% {
        opacity: 1;
    }
    55%, 65% {
        opacity: 0;
    }
}
@keyframes flashlight {
    56% {
        opacity: 1;
    }
    55%, 65% {
        opacity: 0;
    }
}
@-webkit-keyframes zoom {
    20%, 32% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    26% {
        -webkit-transform: rotate(20deg);
        transform: rotate(20deg);
    }
}
@keyframes zoom {
    20%, 32% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    26% {
        -webkit-transform: rotate(20deg);
        transform: rotate(20deg);
    }
}
@-webkit-keyframes blinker {
    32%, 37%, 39%, 43%, 45%, 50% {
        background-color: #212f3d;
    }
    34%, 36%, 40%, 42%, 46%, 48% {
        background-color: #cb214a;
    }
}
@keyframes blinker {
    32%, 37%, 39%, 43%, 45%, 50% {
        background-color: #212f3d;
    }
    34%, 36%, 40%, 42%, 46%, 48% {
        background-color: #cb214a;
    }
}
